// create the module and name it scotchApp
// 模块加入时要注意

var zimgeUrl = 'http://123.56.91.1:4869/';
var uploadUrl = "http://123.56.91.1/upload";
var getImageInfo = "http://123.56.91.1:4869/info";
var IOSdownLoadLink="http://a.app.qq.com/o/simple.jsp?pkgname=com.dxyxx&g_f=991653";
var AndroidLoadLink="http://a.app.qq.com/o/simple.jsp?pkgname=com.dxyxx&g_f=991653";

var scotchApp = angular.module('scotchApp', [ 'scotchApp.directives','ngRoute','LocalStorageModule','PaginatorRRService' ]);

// configure our routes
scotchApp.config(function($routeProvider, localStorageServiceProvider) {

	localStorageServiceProvider.setPrefix('scotchApp2');
	localStorageServiceProvider.setStorageType('localStorage');
	
	

	$routeProvider
	
	.when('/',{
		templateUrl : 'homePage.html',
		controller :  HomePageController
	})


	.when('/verifyOrder', {
		// url：路径是以当前的页面为基准的相对路径
		templateUrl : 'verifyOrder.html',
		controller : verifyOrderController
	})
	
	.when('/shopCart',{
		templateUrl: 'shoppingCart.html',
		controller : ShopCartController
	})
	
	.when('/payed',{
		templateUrl: 'justPay.html',
		controller : justPayController
	})

	.when('/myorder', {
		templateUrl : 'wcPay.html',
		controller : testController
	});

});
